package com.codechuan.demo.dto;
/**
 * @Deprecated 令牌实体类
 */
public class TokenObject {
    private String token;

    private String ticket;

    // 描述
    private String desc;

    // 账号状态
    private String status;

    // 失败次数
    private Integer errorNumber;

    // 0大号 1小号
    private String  type;

    // 用户账号
    private String account;


    public TokenObject(String token, String ticket,String desc,String status,Integer errorNumber,String type,String account) {
        this.token = token;
        this.ticket = ticket;
        this.desc = desc;
        this.status = status;
        this.errorNumber = errorNumber;
        this.type = type;
        this.account = account;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String image) {
        this.token = image;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }


    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getErrorNumber() {
        return errorNumber;
    }

    public void setErrorNumber(Integer errorNumber) {
        this.errorNumber = errorNumber;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    @Override
    public String toString() {
        return "TokenObject{" +
                "token='" + token + '\'' +
                ", ticket='" + ticket + '\'' +
                ", desc='" + desc + '\'' +
                ", status='" + status + '\'' +
                ", errorNumber=" + errorNumber +
                ", type='" + type + '\'' +
                ", account='" + account + '\'' +
                '}';
    }
}
